<!--
 	* @author dumeng
-->
<template>
  <div></div>
</template>
<script>
export default {
  name: 'Refresh',
  beforeRouteEnter(to, from, next) {
    next(vm => {
      if (from.fullPath === '/login') {
        vm.$router.push({ path: '/index' })
      } else {
        vm.$router.replace(from.fullPath)
      }
    })
  },
  created() {

  }
}
</script>

<style scoped lang="scss">
</style>
